/*************************************************************************
 Copyright (C) Unpublished Unis Software, Inc. All rights reserved.
 Unis Software, Inc., Confidential and Proprietary.

 This software is subject to copyright protection
 under the laws of the Public of China and other countries.

 Unless otherwise explicitly stated, this software is provided
 by Unis "AS IS".
 *************************************************************************/
package com.unis.service.section;

import java.util.List;

import com.unis.model.BaseModel;
import com.unis.model.section.Section;

/**
 * @author Administrator (email:granzy@sohu.com)
 * @since 2013-02-25
 */
public interface SectionService {

    /****************************************
     * Insert a instace of Section
     ****************************************/
    void insert(Section section) throws Exception;

    /****************************************
     * Insert instaces of Section
     ****************************************/
    void batchInsert(Section section) throws Exception;

    /****************************************
     * Delete a instace of Section
     ****************************************/
    void delete(Section section) throws Exception;

    /****************************************
     * Delete instaces of Section
     ****************************************/
    void batchDelete(Section section) throws Exception;

    /****************************************
     * Update a instace of Section
     ****************************************/
    void update(Section section) throws Exception;

    /****************************************
     * Query instaces of Section
     ****************************************/
    List<BaseModel> queryAsList(Section section) throws Exception;

    /****************************************
     * Query a instaces of Section
     ****************************************/
    BaseModel queryAsObject(Section section) throws Exception;
}
